{% extends '::base.html.twig' %}
{% block title %}Eliminar Área{% endblock %}

{% block greensectiontitle %}Eliminar Área{% endblock %}
{% block greensectionbody %}

<table class="record_properties">
    <tbody>
        <tr>
            <th>Id</th>
            <td>{{ entity.id }}</td>
        </tr>
        <tr>
            <th>Nombre</th>
            <td>{{ entity.nombre }}</td>
        </tr>
        <tr>
            <th>Descripcion</th>
            <td>{{ entity.descripcion }}</td>
        </tr>
    </tbody>
</table>



<form id='deleteForm' action="{{ path('area_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
        <div id="controls">
            <a title="Eliminar área"id="deleteButton" href="#">Eliminar</a>
            <a title="Cancelar y volver a la lista de áreas" href="{{ path('area') }}">Cancelar</a>
        </div>
    </form>

{% endblock %}